package com.njym.java.security.app.biz;

import com.njym.java.security.app.entity.TaskUserRelevanceVo;
import com.njym.java.security.app.mapper.FamilyUserMapper;
import com.njym.java.security.common.biz.BaseBiz;
import org.springframework.stereotype.Service;

import com.njym.java.security.app.entity.TaskUserRelevance;
import com.njym.java.security.app.mapper.TaskUserRelevanceMapper;

import javax.annotation.Resource;
import java.util.List;


/**
 * 
 *
 * @author lijie
 * @email 717057076@qq.com
 * @date 2019-12-02 16:13:26
 */
@Service
public class TaskUserRelevanceBiz extends BaseBiz<TaskUserRelevanceMapper,TaskUserRelevance> {

    @Resource
    private TaskUserRelevanceMapper taskUserRelevanceMapper;

    public List<TaskUserRelevanceVo> getTaskByfid(Integer fid) {

     return    taskUserRelevanceMapper.getTaskByfid(fid);
    }

    public TaskUserRelevance getTaskUser(Integer fid,Integer taskId){
        return taskUserRelevanceMapper.getTaskUser(fid,taskId);
    }

    public TaskUserRelevanceVo getTaskByid(int id,int fid) {
        return taskUserRelevanceMapper.getTaskByid(id,fid);
    }

    public List<TaskUserRelevanceVo> getTaskBymod(int id) {
        return taskUserRelevanceMapper.getTaskBymod(id);
    }
}